package controllers

// 处理数据
func (c *MainController) pd() map[string]interface{} {
	pddata := make(map[string]interface{})
	for k, v := range c.Input() {
		if len(v) != 0 {
			pddata[k] = v[0]
		}
	}
	return pddata
}
